// ejcView.h : interface of the CEjcView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_EJCVIEW_H__9AE7D8BD_6DE3_47CB_A3F2_0CF8772F277B__INCLUDED_)
#define AFX_EJCVIEW_H__9AE7D8BD_6DE3_47CB_A3F2_0CF8772F277B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CEjcView : public CView
{
protected: // create from serialization only
	CEjcView();
	DECLARE_DYNCREATE(CEjcView)

// Attributes
public:
	CEjcDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEjcView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CEjcView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	UINT	m_nTimerID;
//	CFont	m_font;

// Generated message map functions
protected:
	//{{AFX_MSG(CEjcView)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	virtual void OnInitialUpdate();
	afx_msg void OnMouseHWheel(UINT nFlags, short zDelta, CPoint pt);
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
	afx_msg void OnDestroy();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);

public:
	void OnTouchZoom(CPoint point,double ratio);
};

#ifndef _DEBUG  // debug version in ejcView.cpp
inline CEjcDoc* CEjcView::GetDocument()
   { return (CEjcDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EJCVIEW_H__9AE7D8BD_6DE3_47CB_A3F2_0CF8772F277B__INCLUDED_)
